<?php

include_once( 'php-ofc-library/open-flash-chart.php' );


$bar_red = new bar_3d( 45, '#00a400' );
$bar_red->key( 'Carros', 18 );

// add random height bars:
for( $i=0; $i<16; $i++ )
  $bar_red->data[] = rand(0,15);


$g = new graph();
$g->title( 'Carros', '{font-size:20px;}' );
$g->set_x_labels( array( 'January','February','March','April','May','June','July','August','September','October' ) );

$g->data_sets[] = $bar_red;
$g->set_x_axis_3d( 8 );
$g->set_bg_colour( '#ffffff' );
$g->x_axis_colour( '#909090', '#ADB5C7' );
$g->y_axis_colour( '#909090', '#ADB5C7' );


echo $g->render();




?>
